package com.example.shorg.repository;

import com.example.shorg.dataobject.OrderDetail;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 订单详情
 * */
public interface OrderDetailRepository extends JpaRepository<OrderDetail, String> {

    /**根据订单id查询订单详情列表*/
    List<OrderDetail> findByOrderId(String orderId);
}
